projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c802c57
)
stmsdf: Fix ..printf parameters for MSVC. Before we got always a altitude of ZERO.
author
oliskoli
<oliskoli>
Sat, 19 Apr 2008 12:11:54 +0000
(12:11 +0000)
committer
oliskoli
<oliskoli>
Sat, 19 Apr 2008 12:11:54 +0000
(12:11 +0000)
stmsdf.c
patch
|
blob
|
history
diff --git
a/stmsdf.c
b/stmsdf.c
index 76c7c3edf327e7c402feffa78727a4254963877c..ac69fd2320e13913decf95f23708851f61c36268 100644
(file)
--- a/
stmsdf.c
+++ b/
stmsdf.c
@@
-605,7
+605,7
@@
static void
track_disp_custom_cb(const waypoint *wpt)
{
if (wpt->creation_time && (wpt->altitude != unknown_alt)) {
- gbfprintf(fout, "%
lu,%.f\n", wpt->creation_time - start_time
, wpt->altitude);
+ gbfprintf(fout, "%
d,%.f\n", (int)(wpt->creation_time - start_time)
, wpt->altitude);
}
}